package com.snail.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * @Author 蔡徐坤
 * @Date 2025/7/17 19:24
 * @Description: 用来封装登录结果并返回具体的用户角色
 */

@Data
@AllArgsConstructor
public class LoginResultDTO {
    private String token;
    private Long userId;
    //角色编码
    private List<String> roleCodes;
    private Boolean isAdmin;
    private Boolean forcePasswordChange;
}
